Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add strawman contributing guidelines #672

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dthaler
Copy link
Contributor

@dthaler dthaler commented Oct 8, 2024

The language about the license comes from what github shows at the top of https://github.com/orcasound/orcasite/blob/main/LICENSE. I don't like the use of this license, and Scott's discussion in #181 proposes changing it, which I would prefer. However, in this PR I just document the current state, which may dissuade some contributors from participating. Changing the current state, if done, would be in a separate pull request.

Fixes #671

Summary by CodeRabbit

  • Documentation
    • Enhanced structure and clarity of the CONTRIBUTING.md file.
    • Added new sections: "Reporting Bugs," "Requesting New Features," "Contributing Code," "Submitting a Pull Request," and "Resources."
    • Improved navigation and detailed guidance for potential contributors.

to find an unassigned item to contribute to:

- ["Good first issue" GitHub issues for first-timers](https://github.com/orcasound/orcasite/labels/good%20first%20issue)
- ["Help wanted" GitHub issues](https://github.com/orcasound/orcasite/labels/help%20wanted)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only found one "help wanted" issue and it was already closed. If this is no longer planned to be used, we could remove this line.


If you are willing to follow the conditions of this license, check out the following links
to find an unassigned item to contribute to:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find the fact that there's multiple places to look below pretty confusing as a potential contributor. How do I decide which one to look at? Are they redundant? Is one more important than the others? Do I need to look at all of them when picking?

the bar for both quality and design/roadmap appropriateness will be merged into the source.

For all pull requests the following rules apply:
- The pull request description should describe the problem and solution, and reference the GitHub issue if one exists.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can find existing PRs like #635 that don't follow this rule.
However, I still recommend that this rule should apply.

The language about the license comes from what github shows at the
top of https://github.com/orcasound/orcasite/blob/main/LICENSE.
I don't like the use of this license, and Scott's discussion in
orcasound#181 proposes changing
it, which I would prefer.  However, in this PR I just document the
current state, which may dissuade some contributors from participating.
Changing the current state, if done, would be in a separate pull
request.

Signed-off-by: Dave Thaler <[email protected]>
@dthaler
Copy link
Contributor Author

dthaler commented Oct 16, 2024

@coderabbitai review

Copy link

coderabbitai bot commented Oct 16, 2024

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link

coderabbitai bot commented Oct 16, 2024

Walkthrough

The CONTRIBUTING.md file has been significantly restructured and updated to improve clarity and organization. New sections have been added, including "Reporting Bugs," "Requesting New Features," "Contributing Code," "Submitting a Pull Request," and "Resources." The previous "General workflow" section has been removed and its content integrated into the "Contributing Code" section. The document now provides clearer navigation and detailed guidelines for potential contributors.

Changes

File Change Summary
CONTRIBUTING.md - Added sections: "Reporting Bugs," "Requesting New Features," "Contributing Code," "Submitting a Pull Request," "Resources."
- Removed "General workflow" section; integrated content into "Contributing Code."

Assessment against linked issues

Objective Addressed Explanation
Expand contribution guidelines (#671)

🐰 "In the garden of code, we hop and we play,
With guidelines now clear, we brighten the way.
Reporting and requesting, all in their place,
Come join us, dear friends, in this coding race!" 🐇


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (7)
CONTRIBUTING.md (7)

Line range hint 1-11: LGTM! Consider adding anchors to improve navigation.

The introduction and table of contents look great. The restructuring provides a clear overview of the document. To further improve navigation, consider adding anchor links to each section in the table of contents.

Here's an example of how to add anchor links:

- [Code of Conduct](#code-of-conduct)
- [Reporting Bugs](#reporting-bugs)
- [Requesting New Features](#requesting-new-features)
- [Contributing Code](#contributing-code)
- [Contacting Us](#contacting-us)
- [Resources](#resources)
🧰 Tools
🪛 LanguageTool

[uncategorized] ~21-~21: Possible missing article found.
Context: ...casound/orcasite/issues). If you found bug, you can help us by [submitting a GitHu...

(AI_HYDRA_LEO_MISSING_THE)


[style] ~70-~70: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...x) feel free to start working on a fix. If you are submitting a feature or substan...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[uncategorized] ~73-~73: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... two blogs posts on contributing code: [Open Source Contribution Etiquette](http://tirania....

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[uncategorized] ~83-~83: A determiner appears to be missing. Consider inserting it.
Context: ...ery feature that is end-user visible. - Coding style should be consistent with the sty...

(AI_EN_LECTOR_MISSING_DETERMINER)


[uncategorized] ~97-~97: Possible missing article found.
Context: ...ns) ### Meetings We meet for one hour other Wednesday via Google Meet. You can req...

(AI_HYDRA_LEO_MISSING_THE)

🪛 Markdownlint

6-6: null
Link fragments should be valid

(MD051, link-fragments)


7-7: null
Link fragments should be valid

(MD051, link-fragments)


16-24: LGTM! Consider minor improvements for clarity and completeness.

The "Reporting Bugs" section provides clear instructions for contributors. Here are a few suggestions to enhance it further:

  1. On line 21, add the article "a" before "bug" for grammatical correctness:

    -If you found bug, you can help us by
    +If you found a bug, you can help us by
  2. Consider adding a note about including relevant system information and logs when reporting bugs. This can help developers reproduce and fix issues more efficiently.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~21-~21: Possible missing article found.
Context: ...casound/orcasite/issues). If you found bug, you can help us by [submitting a GitHu...

(AI_HYDRA_LEO_MISSING_THE)


38-41: Consider clarifying the implications of the AGPL license.

While the license information is clearly stated, it might be helpful to briefly explain the implications of the AGPL license for potential contributors. This could include mentioning that any modifications to the code must also be released under the AGPL, which may affect how the code can be used in other projects.


45-51: LGTM! Consider prioritizing the issue selection resources.

The list of resources for finding issues to work on is comprehensive. However, it might be helpful to prioritize or categorize these resources to guide contributors more effectively. For example:

  1. GitHub issues (Good first issues, Help wanted)
  2. Project management tools (Project board, Trello board, Public roadmap)
  3. Design resources (Figma)

This organization could help contributors focus on the most relevant resources based on their interests and skills.


73-74: Minor: Add a hyphen to "Open-Source" for clarity.

To improve readability and adhere to common style guidelines for compound adjectives, consider adding a hyphen:

-[Open Source Contribution Etiquette](http://tirania.org/blog/archive/2010/Dec-31.html) by Miguel de Icaza and
+[Open-Source Contribution Etiquette](http://tirania.org/blog/archive/2010/Dec-31.html) by Miguel de Icaza and
🧰 Tools
🪛 LanguageTool

[uncategorized] ~73-~73: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... two blogs posts on contributing code: [Open Source Contribution Etiquette](http://tirania....

(EN_COMPOUND_ADJECTIVE_INTERNAL)


85-111: LGTM! Consider a minor grammar adjustment.

The "Contacting Us" section provides comprehensive information on how to get in touch with the project team and participate in meetings. To improve clarity, consider this minor adjustment:

-We meet for one hour other Wednesday via Google Meet.
+We meet for one hour every other Wednesday via Google Meet.

This change makes the meeting schedule clearer to potential participants.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~97-~97: Possible missing article found.
Context: ...ns) ### Meetings We meet for one hour other Wednesday via Google Meet. You can req...

(AI_HYDRA_LEO_MISSING_THE)


Line range hint 112-150: LGTM! Consider expanding the example codebases section.

The "Resources" section is comprehensive and provides valuable learning materials for contributors. The inclusion of both official documentation and community resources is excellent.

To further improve this section, consider expanding the example codebases part:

  1. Add a brief description of why each codebase is relevant or what aspects of it are particularly useful for Orcasite contributors.
  2. If possible, include more examples that demonstrate different aspects of the project (e.g., frontend, backend, testing strategies).

This additional context could help contributors better understand how these examples relate to the Orcasite project.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~21-~21: Possible missing article found.
Context: ...casound/orcasite/issues). If you found bug, you can help us by [submitting a GitHu...

(AI_HYDRA_LEO_MISSING_THE)


[style] ~70-~70: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...x) feel free to start working on a fix. If you are submitting a feature or substan...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[uncategorized] ~73-~73: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... two blogs posts on contributing code: [Open Source Contribution Etiquette](http://tirania....

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[uncategorized] ~83-~83: A determiner appears to be missing. Consider inserting it.
Context: ...ery feature that is end-user visible. - Coding style should be consistent with the sty...

(AI_EN_LECTOR_MISSING_DETERMINER)


[uncategorized] ~97-~97: Possible missing article found.
Context: ...ns) ### Meetings We meet for one hour other Wednesday via Google Meet. You can req...

(AI_HYDRA_LEO_MISSING_THE)

🪛 Markdownlint

6-6: null
Link fragments should be valid

(MD051, link-fragments)


7-7: null
Link fragments should be valid

(MD051, link-fragments)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 02d8480 and 7872b16.

📒 Files selected for processing (1)
  • CONTRIBUTING.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
CONTRIBUTING.md

[uncategorized] ~21-~21: Possible missing article found.
Context: ...casound/orcasite/issues). If you found bug, you can help us by [submitting a GitHu...

(AI_HYDRA_LEO_MISSING_THE)


[style] ~70-~70: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...x) feel free to start working on a fix. If you are submitting a feature or substan...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[uncategorized] ~73-~73: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... two blogs posts on contributing code: [Open Source Contribution Etiquette](http://tirania....

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[uncategorized] ~83-~83: A determiner appears to be missing. Consider inserting it.
Context: ...ery feature that is end-user visible. - Coding style should be consistent with the sty...

(AI_EN_LECTOR_MISSING_DETERMINER)


[uncategorized] ~97-~97: Possible missing article found.
Context: ...ns) ### Meetings We meet for one hour other Wednesday via Google Meet. You can req...

(AI_HYDRA_LEO_MISSING_THE)

🪛 Markdownlint
CONTRIBUTING.md

6-6: null
Link fragments should be valid

(MD051, link-fragments)


7-7: null
Link fragments should be valid

(MD051, link-fragments)

🔇 Additional comments (3)
CONTRIBUTING.md (3)

12-15: LGTM! Clear reference to the Code of Conduct.

This section effectively directs contributors to the external Code of Conduct file. It's concise and emphasizes the importance of understanding the Code of Conduct before contributing.


26-34: LGTM! Clear guidelines for feature requests and proposals.

This section effectively outlines the process for requesting new features and proposing implementations. It emphasizes the importance of communication and early feedback, which is crucial for successful contributions.


Line range hint 1-150: Great job on improving the contribution guidelines!

The restructuring and additions to the CONTRIBUTING.md file significantly enhance its clarity, completeness, and usefulness for potential contributors. The new sections on reporting bugs, requesting features, and available resources are particularly valuable. The guidelines now provide a comprehensive roadmap for contributors, from initial contact to submitting pull requests.

While there are a few minor suggestions for improvement, the overall quality of the document is excellent. These guidelines will undoubtedly help streamline the contribution process and make it more accessible to newcomers.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~21-~21: Possible missing article found.
Context: ...casound/orcasite/issues). If you found bug, you can help us by [submitting a GitHu...

(AI_HYDRA_LEO_MISSING_THE)


[style] ~70-~70: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...x) feel free to start working on a fix. If you are submitting a feature or substan...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[uncategorized] ~73-~73: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... two blogs posts on contributing code: [Open Source Contribution Etiquette](http://tirania....

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[uncategorized] ~83-~83: A determiner appears to be missing. Consider inserting it.
Context: ...ery feature that is end-user visible. - Coding style should be consistent with the sty...

(AI_EN_LECTOR_MISSING_DETERMINER)


[uncategorized] ~97-~97: Possible missing article found.
Context: ...ns) ### Meetings We meet for one hour other Wednesday via Google Meet. You can req...

(AI_HYDRA_LEO_MISSING_THE)

🪛 Markdownlint

6-6: null
Link fragments should be valid

(MD051, link-fragments)


7-7: null
Link fragments should be valid

(MD051, link-fragments)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expand contribution guidelines
1 participant